package cn.yunyichina.provider.base.entity;

import java.io.Serializable;
import java.sql.Time;
import java.util.Date;

import cn.yunyichina.provider.framework.mvc.entity.BaseEntity;


public class RuleRegister extends BaseEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2366986579993088391L;

	/**
	 * 关联医院id
	 */
	private String hospitalId;

	/**
	 * 是否有分院  1：有  0：没有
	 */
	private Integer isHasBranch;

	/**
	 * 是否有二级科室 1：有   0 ：没有
	 */
	private Integer isHasGradeTwoDept;

	/**
	 * 是否有当班挂号
	 */
	private Integer isHasOnDutyReg;

	/**
	 * 是否有搜素医生   1：有   0 ：没有
	 */
	private Integer isHasSearChDoctor;

	/**
	 * 是否有预约挂号    1：有   0 ：没有
	 */
	private Integer isHasAppointmentReg;

	/**
	 * 预约挂号日历显示天数  1：7天  2：15天 3：30天
	 */
	private Integer calendarDaysType;

	/**
	 * 号源的缓存天数
	 */
	private Integer sourceCacheDays;

	/**
	 * 在线支付控制  :1：必须在线支付    2：不用在线支付     3：支持暂不支付
	 */
	private Integer onlinePaymentControl;

	/**
	 * 当班挂号是否支持退费   0：不支持    1：支持
	 */
	private Integer isSupportRefundOnDuty;


	/**
	 * 预约挂号是否支持取消  0：不支持    1：支持   wwb
	 */
	private Integer isSupportRefundAppointment;

	/**
	 * 当班挂号开始时间点
	 */
	private Date onDutyRegStartTime;

	/**
	 * 当班挂号截止时间点
	 */
	private Date onDutyRegEndTime;

	/**
	 * 允许预约明天号的截止时间点
	 */
	private Date appointmentTomorrowEndTime;

	/**
	 * 挂号超时支付时间  单位分钟
	 */
	private Integer paymentTimeOutTime;

	/**
	 * 每个人每天允许挂同一医生号最大次数
	 */
	private Integer regMaximumSameDoctor;

	/**
	 * 每个人每天允许最大挂号次数
	 */
	private Integer regMaximumInDay;

	/**
	 * 每个人每周允许挂号次数
	 */
	private Integer regMaximumInWeek;

	/**
	 * 每个人每月允许挂号次数
	 */
	private Integer regMaximumInMonth;

	/**
	 * 每个人每天允许取消挂号次数
	 */
	private Integer regCancelMaxnumInDay;

	/**
	 * 暂不支付模式支付截止时间点
	 */
	private Integer notPaidpayOffTime;

	/**
	 * 暂不支付模式支付截止时间类型
	 * 1、就诊前一天几点
	 * 2、就诊当天几点
	 * 3、就诊时间段开始前几小时
	 * 4、就诊时间段开始前多少分钟
	 * 5、就诊时间段开始的时间
	 * 6、就诊时间段结束的时间
	 * 7、就诊时间结束前多少分钟
	 * 8、不限制
	 */
	private Integer notPaidpayOffType;

	/**
	 * 取消预约挂号截止时间点的计算类型 
	 * 1、就诊前一天几点
	 * 2、就诊当天几点
	 * 3、就诊时间段开始前几小时
	 * 4、就诊时间段开始前多少分钟
	 * 5、就诊开始时间
	 * 6、就诊结束时间
	 * 7、就诊结束前多少分钟
	 * 8、不限制
	 */
	private Integer cancelBespeakCloseType;

	/**
	 * 取消预约挂号截至时间点
	 */
	private Integer cancelBespeakEndTime;

	/**
	 * 取消当班挂号截止类型
	 * 1、就诊当天几点
	 * 2、就诊时间段开始前几小时
	 * 3、就诊时间段开始前多少分钟
	 * 4、就诊时间段开始的时间
	 * 5、就诊时间段结束的时间
	 * 6、就诊时间段结束前多少分钟
	 * 7、不限制
	 */
	private Integer cancelOnDutyCloseType;

	/**
	 * 取消当班挂号的截至时间  类型为1是单位为小时  类型为2是单位为分钟
	 */
	private Integer cancelOnDutyEndTimes;

	/**
	 * 所选日期没有号源信息提示语
	 */
	private String noSourceTipContent;

	/**
	 * 当班挂号温馨提示语
	 */
	private String onDutyRegTipContent;

	/**
	 * 超过当班挂号截止时间点的提示语
	 */
	private String onDutyRegOverTimeTip;

	/**
	 * 超过预约明天号的截止时间点提示语
	 */
	private String bespeakRegOverTimeTip;

	/**
	 * 挂号失败提示语
	 */
	private String regFailedTip;

	/**
	 * 可享受医院挂号优惠提示语
	 */
	private String regDiscountTip;

	/**
	 * 超过每天挂同一医生号次数提示语
	 */
	private String overMaximumSameDoctorTip;

	/**
	 * 超过每天允许挂号次数提示语
	 */
	private String overMaximumInDayTip;

	/**
	 * 超过每周允许挂号次数提示语
	 */
	private String overMaximumInWeekTip;

	/**
	 * 超过每月允许挂号次数提示语
	 */
	private String overMaximumInMonthTip;

	/**
	 * 超过每天允许取消挂号次数提示语
	 */
	private String overCancelMaxnumInDayTip;

	/**
	 * 超过取消预约挂号截止时间点提示语
	 */
	private String cancelBespeakTimeOutTip;

	/**
	 * 超过取消当班挂号截止时间点提示语
	 */
	private String cancelOnDutyTimeOutTip;

	/**
	 * 黑名单用户挂号提示语
	 */
	private String blacklistUserRegTip;

	/**
	 * 确认挂号信息（暂不支付）页面提示语
	 */
	private String confirmRegInfoTip;

	/**
	 * 挂号支付超时提示语
	 */
	private String regPayTimeOutTip;

	/**
	 * 挂号成功（已缴费）时提示语
	 */
	private String regSuccessHadPayTip;

	/**
	 * 挂号成功（未缴费）时提示语
	 */
	private String regSuccessNoPayTip;

	/**
	 * 挂号成功（当班挂号）时提示语
	 */
	private String regSuccessOnDutyTip;

	/**
	 * 是否显示病情描述    0不显示    1显示
	 */
	private Integer isViewDiseaseDesc;
	
	/**
	 * 挂号前温馨提示（确认挂号选择就诊人页面）
	 */
	private String preRegisterWarmTip;
	
	/**
	 * 是否支持重写异常单
	 * 1、是
	 * 0、否
	 */
	private Integer isSupportRewriteExceptionOrder;

	public RuleRegister() {
		super();
		// TODO Auto-generated constructor stub
	}

	public RuleRegister(String hospitalId) {
		super();
		this.hospitalId = hospitalId;
	}

	public RuleRegister(String id, String hospitalId, Integer isHasBranch, Integer isHasGradeTwoDept, Integer calendarDaysType,
			Integer onlinePaymentControl, Integer isSupportRefundOnDuty, Date onDutyRegEndTime, Date appointmentTomorrowEndTime,
			Integer paymentTimeOutTime, Integer regMaximumSameDoctor, Integer regMaximumInDay, Integer regMaximumInWeek, Integer regMaximumInMonth,
			Integer regCancelMaxnumInDay, Integer cancelBespeakCloseType, Integer cancelBespeakEndTime, Integer cancelOnDutyCloseType,
			Integer cancelOnDutyEndTimes, String noSourceTipContent, String onDutyRegTipContent, String onDutyRegOverTimeTip,
			String bespeakRegOverTimeTip, String regFailedTip, String regDiscountTip, String overMaximumSameDoctorTip, String overMaximumInDayTip,
			String overMaximumInWeekTip, String overMaximumInMonthTip, String overCancelMaxnumInDayTip, String cancelBespeakTimeOutTip,
			String cancelOnDutyTimeOutTip, String blacklistUserRegTip, String confirmRegInfoTip, String regPayTimeOutTip, String regSuccessHadPayTip,
			String regSuccessNoPayTip, String regSuccessOnDutyTip) {
		super();
		this.id = id;
		this.hospitalId = hospitalId;
		this.isHasBranch = isHasBranch;
		this.isHasGradeTwoDept = isHasGradeTwoDept;
		this.calendarDaysType = calendarDaysType;
		this.onlinePaymentControl = onlinePaymentControl;
		this.isSupportRefundOnDuty = isSupportRefundOnDuty;
		this.onDutyRegEndTime = onDutyRegEndTime;
		this.appointmentTomorrowEndTime = appointmentTomorrowEndTime;
		this.paymentTimeOutTime = paymentTimeOutTime;
		this.regMaximumSameDoctor = regMaximumSameDoctor;
		this.regMaximumInDay = regMaximumInDay;
		this.regMaximumInWeek = regMaximumInWeek;
		this.regMaximumInMonth = regMaximumInMonth;
		this.regCancelMaxnumInDay = regCancelMaxnumInDay;
		this.cancelBespeakCloseType = cancelBespeakCloseType;
		this.cancelBespeakEndTime = cancelBespeakEndTime;
		this.cancelOnDutyCloseType = cancelOnDutyCloseType;
		this.cancelOnDutyEndTimes = cancelOnDutyEndTimes;
		this.noSourceTipContent = noSourceTipContent;
		this.onDutyRegTipContent = onDutyRegTipContent;
		this.onDutyRegOverTimeTip = onDutyRegOverTimeTip;
		this.bespeakRegOverTimeTip = bespeakRegOverTimeTip;
		this.regFailedTip = regFailedTip;
		this.regDiscountTip = regDiscountTip;
		this.overMaximumSameDoctorTip = overMaximumSameDoctorTip;
		this.overMaximumInDayTip = overMaximumInDayTip;
		this.overMaximumInWeekTip = overMaximumInWeekTip;
		this.overMaximumInMonthTip = overMaximumInMonthTip;
		this.overCancelMaxnumInDayTip = overCancelMaxnumInDayTip;
		this.cancelBespeakTimeOutTip = cancelBespeakTimeOutTip;
		this.cancelOnDutyTimeOutTip = cancelOnDutyTimeOutTip;
		this.blacklistUserRegTip = blacklistUserRegTip;
		this.confirmRegInfoTip = confirmRegInfoTip;
		this.regPayTimeOutTip = regPayTimeOutTip;
		this.regSuccessHadPayTip = regSuccessHadPayTip;
		this.regSuccessNoPayTip = regSuccessNoPayTip;
		this.regSuccessOnDutyTip = regSuccessOnDutyTip;
	}

	public String getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(String hospitalId) {
		this.hospitalId = hospitalId;
	}

	/**
	 * 是否有分院   
	 * @return  1:有        0:没有
	 */
	public Integer getIsHasBranch() {
		return isHasBranch;
	}

	public void setIsHasBranch(Integer isHasBranch) {
		this.isHasBranch = isHasBranch;
	}

	/**
	 * 是否有二级科室 1：有   0 ：没有
	 * @return
	 */
	public Integer getIsHasGradeTwoDept() {
		return isHasGradeTwoDept;
	}

	public void setIsHasGradeTwoDept(Integer isHasGradeTwoDept) {
		this.isHasGradeTwoDept = isHasGradeTwoDept;
	}

	/**
	 * 预约挂号日历显示天数  1：7天  2：15天 3：30天
	 * @return
	 */
	public Integer getCalendarDaysType() {
		return calendarDaysType;
	}

	public void setCalendarDaysType(Integer calendarDaysType) {
		this.calendarDaysType = calendarDaysType;
	}

	/**
	 * 在线支付控制  :1：必须在线支付    2：不用在线支付     3：支持暂不支付
	 * @return
	 */
	public Integer getOnlinePaymentControl() {
		return onlinePaymentControl;
	}

	public void setOnlinePaymentControl(Integer onlinePaymentControl) {
		this.onlinePaymentControl = onlinePaymentControl;
	}

	/**
	 * 当班挂号是否支持退费   0：不支持    1：支持
	 * @return
	 */
	public Integer getIsSupportRefundOnDuty() {
		return isSupportRefundOnDuty;
	}

	public void setIsSupportRefundOnDuty(Integer isSupportRefundOnDuty) {
		this.isSupportRefundOnDuty = isSupportRefundOnDuty;
	}

	/**
	 * 当班挂号允许挂号截止时间点
	 * @return
	 */
	public Date getOnDutyRegEndTime() {
		return onDutyRegEndTime;
	}

	public void setOnDutyRegEndTime(Date onDutyRegEndTime) {
		this.onDutyRegEndTime = onDutyRegEndTime;
	}

	/**
	 * 允许预约明天号的截止时间点
	 * @return
	 */
	public Date getAppointmentTomorrowEndTime() {
		return appointmentTomorrowEndTime;
	}

	public void setAppointmentTomorrowEndTime(Date appointmentTomorrowEndTime) {
		this.appointmentTomorrowEndTime = appointmentTomorrowEndTime;
	}

	/**
	 * 挂号超时支付时间  单位分钟
	 * @return
	 */
	public Integer getPaymentTimeOutTime() {
		return paymentTimeOutTime;
	}

	public void setPaymentTimeOutTime(Integer paymentTimeOutTime) {
		this.paymentTimeOutTime = paymentTimeOutTime;
	}

	/**
	 * 每个人每天允许挂同一医生号最大次数
	 * @return
	 */
	public Integer getRegMaximumSameDoctor() {
		return regMaximumSameDoctor;
	}

	public void setRegMaximumSameDoctor(Integer regMaximumSameDoctor) {
		this.regMaximumSameDoctor = regMaximumSameDoctor;
	}

	/**
	 * 每个人每天允许最大挂号次数
	 * @return
	 */
	public Integer getRegMaximumInDay() {
		return regMaximumInDay;
	}

	public void setRegMaximumInDay(Integer regMaximumInDay) {
		this.regMaximumInDay = regMaximumInDay;
	}

	/**
	 * 每个人每周允许挂号次数
	 * @return
	 */
	public Integer getRegMaximumInWeek() {
		return regMaximumInWeek;
	}

	public void setRegMaximumInWeek(Integer regMaximumInWeek) {
		this.regMaximumInWeek = regMaximumInWeek;
	}

	/**
	 * 每个人每月允许挂号次数
	 * @return
	 */
	public Integer getRegMaximumInMonth() {
		return regMaximumInMonth;
	}

	public void setRegMaximumInMonth(Integer regMaximumInMonth) {
		this.regMaximumInMonth = regMaximumInMonth;
	}

	/**
	 * 每个人每天允许取消挂号次数
	 * @return
	 */
	public Integer getRegCancelMaxnumInDay() {
		return regCancelMaxnumInDay;
	}

	public void setRegCancelMaxnumInDay(Integer regCancelMaxnumInDay) {
		this.regCancelMaxnumInDay = regCancelMaxnumInDay;
	}

	/**
	 * 取消预约挂号截止时间点的计算类型 1：就诊前一天几点  2：就诊当天几点  3：就诊时间段前几小时
	 * @return
	 */
	public Integer getCancelBespeakCloseType() {
		return cancelBespeakCloseType;
	}

	public void setCancelBespeakCloseType(Integer cancelBespeakCloseType) {
		this.cancelBespeakCloseType = cancelBespeakCloseType;
	}

	/**
	 * 取消预约挂号截至时间点
	 * @return
	 */
	public Integer getCancelBespeakEndTime() {
		return cancelBespeakEndTime;
	}

	public void setCancelBespeakEndTime(Integer cancelBespeakEndTime) {
		this.cancelBespeakEndTime = cancelBespeakEndTime;
	}

	/**
	 * 取消当班挂号截止类型  1：就诊时间段前几小时    2：就诊时间段前多少分钟
	 * @return
	 */
	public Integer getCancelOnDutyCloseType() {
		return cancelOnDutyCloseType;
	}

	public void setCancelOnDutyCloseType(Integer cancelOnDutyCloseType) {
		this.cancelOnDutyCloseType = cancelOnDutyCloseType;
	}

	/**
	 * 取消当班挂号的截至时间     cancelOnDutyCloseType为1是单位为小时  类型为2是单位为分钟
	 * @return
	 */
	public Integer getCancelOnDutyEndTimes() {
		return cancelOnDutyEndTimes;
	}

	public void setCancelOnDutyEndTimes(Integer cancelOnDutyEndTimes) {
		this.cancelOnDutyEndTimes = cancelOnDutyEndTimes;
	}

	/**
	 * 所选日期号源已挂完时提示语
	 * @return
	 */
	public String getNoSourceTipContent() {
		return noSourceTipContent;
	}

	public void setNoSourceTipContent(String noSourceTipContent) {
		this.noSourceTipContent = noSourceTipContent == null ? null : noSourceTipContent.trim();
	}

	/**
	 * 当班挂号温馨提示语
	 * @return
	 */
	public String getOnDutyRegTipContent() {
		return onDutyRegTipContent;
	}

	public void setOnDutyRegTipContent(String onDutyRegTipContent) {
		this.onDutyRegTipContent = onDutyRegTipContent == null ? null : onDutyRegTipContent.trim();
	}

	/**
	 * 超过当班挂号截止时间点的提示语
	 * @return
	 */
	public String getOnDutyRegOverTimeTip() {
		return onDutyRegOverTimeTip;
	}

	public void setOnDutyRegOverTimeTip(String onDutyRegOverTimeTip) {
		this.onDutyRegOverTimeTip = onDutyRegOverTimeTip == null ? null : onDutyRegOverTimeTip.trim();
	}

	/**
	 * 超过预约明天号的截止时间点提示语
	 * @return
	 */
	public String getBespeakRegOverTimeTip() {
		return bespeakRegOverTimeTip;
	}

	public void setBespeakRegOverTimeTip(String bespeakRegOverTimeTip) {
		this.bespeakRegOverTimeTip = bespeakRegOverTimeTip == null ? null : bespeakRegOverTimeTip.trim();
	}

	/**
	 * 挂号失败提示语
	 * @return
	 */
	public String getRegFailedTip() {
		return regFailedTip;
	}

	public void setRegFailedTip(String regFailedTip) {
		this.regFailedTip = regFailedTip == null ? null : regFailedTip.trim();
	}

	/**
	 * 可享受医院挂号优惠提示语
	 * @return
	 */
	public String getRegDiscountTip() {
		return regDiscountTip;
	}

	public void setRegDiscountTip(String regDiscountTip) {
		this.regDiscountTip = regDiscountTip == null ? null : regDiscountTip.trim();
	}

	/**
	 * 	超过每天挂同一医生号次数提示语
	 * @return
	 */
	public String getOverMaximumSameDoctorTip() {
		return overMaximumSameDoctorTip;
	}

	public void setOverMaximumSameDoctorTip(String overMaximumSameDoctorTip) {
		this.overMaximumSameDoctorTip = overMaximumSameDoctorTip == null ? null : overMaximumSameDoctorTip.trim();
	}

	/**
	 * 超过每天允许挂号次数提示语
	 * @return
	 */
	public String getOverMaximumInDayTip() {
		return overMaximumInDayTip;
	}

	public void setOverMaximumInDayTip(String overMaximumInDayTip) {
		this.overMaximumInDayTip = overMaximumInDayTip == null ? null : overMaximumInDayTip.trim();
	}

	/**
	 * 超过每周允许挂号次数提示语
	 * @return
	 */
	public String getOverMaximumInWeekTip() {
		return overMaximumInWeekTip;
	}

	public void setOverMaximumInWeekTip(String overMaximumInWeekTip) {
		this.overMaximumInWeekTip = overMaximumInWeekTip == null ? null : overMaximumInWeekTip.trim();
	}

	/**
	 * 超过每月允许挂号次数提示语
	 * @return
	 */
	public String getOverMaximumInMonthTip() {
		return overMaximumInMonthTip;
	}

	public void setOverMaximumInMonthTip(String overMaximumInMonthTip) {
		this.overMaximumInMonthTip = overMaximumInMonthTip == null ? null : overMaximumInMonthTip.trim();
	}

	/**
	 * 超过每天允许取消挂号次数提示语
	 * @return
	 */
	public String getOverCancelMaxnumInDayTip() {
		return overCancelMaxnumInDayTip;
	}

	public void setOverCancelMaxnumInDayTip(String overCancelMaxnumInDayTip) {
		this.overCancelMaxnumInDayTip = overCancelMaxnumInDayTip == null ? null : overCancelMaxnumInDayTip.trim();
	}

	/**
	 * 超过取消预约挂号截止时间点提示语
	 * @return
	 */
	public String getCancelBespeakTimeOutTip() {
		return cancelBespeakTimeOutTip;
	}

	public void setCancelBespeakTimeOutTip(String cancelBespeakTimeOutTip) {
		this.cancelBespeakTimeOutTip = cancelBespeakTimeOutTip == null ? null : cancelBespeakTimeOutTip.trim();
	}

	/**
	 * 超过取消当班挂号截止时间点提示语
	 * @return
	 */
	public String getCancelOnDutyTimeOutTip() {
		return cancelOnDutyTimeOutTip;
	}

	public void setCancelOnDutyTimeOutTip(String cancelOnDutyTimeOutTip) {
		this.cancelOnDutyTimeOutTip = cancelOnDutyTimeOutTip == null ? null : cancelOnDutyTimeOutTip.trim();
	}

	/**
	 * 黑名单用户挂号提示语
	 * @return
	 */
	public String getBlacklistUserRegTip() {
		return blacklistUserRegTip;
	}

	public void setBlacklistUserRegTip(String blacklistUserRegTip) {
		this.blacklistUserRegTip = blacklistUserRegTip == null ? null : blacklistUserRegTip.trim();
	}

	/**
	 * 确认挂号信息（暂不支付）页面提示语
	 * @return
	 */
	public String getConfirmRegInfoTip() {
		return confirmRegInfoTip;
	}

	public void setConfirmRegInfoTip(String confirmRegInfoTip) {
		this.confirmRegInfoTip = confirmRegInfoTip == null ? null : confirmRegInfoTip.trim();
	}

	/**
	 * 	挂号支付超时提示语
	 * @return
	 */
	public String getRegPayTimeOutTip() {
		return regPayTimeOutTip;
	}

	public void setRegPayTimeOutTip(String regPayTimeOutTip) {
		this.regPayTimeOutTip = regPayTimeOutTip == null ? null : regPayTimeOutTip.trim();
	}

	/**
	 * 挂号成功（已缴费）时提示语
	 * @return
	 */
	public String getRegSuccessHadPayTip() {
		return regSuccessHadPayTip;
	}

	public void setRegSuccessHadPayTip(String regSuccessHadPayTip) {
		this.regSuccessHadPayTip = regSuccessHadPayTip == null ? null : regSuccessHadPayTip.trim();
	}

	/**
	 * 挂号成功（未缴费）时提示语
	 * @return
	 */
	public String getRegSuccessNoPayTip() {
		return regSuccessNoPayTip;
	}

	public void setRegSuccessNoPayTip(String regSuccessNoPayTip) {
		this.regSuccessNoPayTip = regSuccessNoPayTip == null ? null : regSuccessNoPayTip.trim();
	}

	/**
	 * 挂号成功（当班挂号）时提示语
	 * @return
	 */
	public String getRegSuccessOnDutyTip() {
		return regSuccessOnDutyTip;
	}

	public void setRegSuccessOnDutyTip(String regSuccessOnDutyTip) {
		this.regSuccessOnDutyTip = regSuccessOnDutyTip == null ? null : regSuccessOnDutyTip.trim();
	}

	/**
	 * 是否有当班挂号   1 有   0 没有
	 * @return
	 */
	public Integer getIsHasOnDutyReg() {
		return isHasOnDutyReg;
	}

	public void setIsHasOnDutyReg(Integer isHasOnDutyReg) {
		this.isHasOnDutyReg = isHasOnDutyReg;
	}

	/**
	 * 当班挂号开始时间点
	 * @return
	 */
	public Date getOnDutyRegStartTime() {
		return onDutyRegStartTime;
	}

	public void setOnDutyRegStartTime(Date onDutyRegStartTime) {
		this.onDutyRegStartTime = onDutyRegStartTime;
	}

	/** 
	 * 是否显示病情描述   0不显示    1显示
	 * @return
	 */
	public Integer getIsViewDiseaseDesc() {
		return isViewDiseaseDesc;
	}

	public void setIsViewDiseaseDesc(Integer isViewDiseaseDesc) {
		this.isViewDiseaseDesc = isViewDiseaseDesc;
	}

	public Integer getSourceCacheDays() {
		return sourceCacheDays;
	}

	public void setSourceCacheDays(Integer sourceCacheDays) {
		this.sourceCacheDays = sourceCacheDays;
	}

	public Integer getIsHasSearChDoctor() {
		return isHasSearChDoctor;
	}

	public void setIsHasSearChDoctor(Integer isHasSearChDoctor) {
		this.isHasSearChDoctor = isHasSearChDoctor;
	}

	public Integer getIsHasAppointmentReg() {
		return isHasAppointmentReg;
	}

	public void setIsHasAppointmentReg(Integer isHasAppointmentReg) {
		this.isHasAppointmentReg = isHasAppointmentReg;
	}

	public Integer getNotPaidpayOffTime() {
		return notPaidpayOffTime;
	}

	public void setNotPaidpayOffTime(Integer notPaidpayOffTime) {
		this.notPaidpayOffTime = notPaidpayOffTime;
	}

	public Integer getNotPaidpayOffType() {
		return notPaidpayOffType;
	}

	public void setNotPaidpayOffType(Integer notPaidpayOffType) {
		this.notPaidpayOffType = notPaidpayOffType;
	}

	public static RuleRegister getDefaultRule(String hospitalId) {
		RuleRegister rule = new RuleRegister(hospitalId);
		rule.setIsHasBranch(1);
		rule.setIsHasGradeTwoDept(1);
		rule.setCalendarDaysType(1);
		rule.setIsHasOnDutyReg(1);
		rule.setIsViewDiseaseDesc(1);
		rule.setCancelBespeakCloseType(1);
		rule.setOnlinePaymentControl(1);
		rule.setIsSupportRefundOnDuty(1);
		rule.setIsSupportRefundAppointment(1);//是否可以取消预约挂号
		rule.setOnDutyRegStartTime(new Time(0, 0, 0));
		rule.setOnDutyRegEndTime(new Time(16, 0, 0));
		rule.setAppointmentTomorrowEndTime(new Time(16, 0, 0));
		rule.setSourceCacheDays(7);
		rule.setIsHasSearChDoctor(1);
		rule.setIsHasAppointmentReg(1);
		rule.setIsSupportRewriteExceptionOrder(0);
		return rule;
	}

	public String getPreRegisterWarmTip() {
		return preRegisterWarmTip;
	}

	public void setPreRegisterWarmTip(String preRegisterWarmTip) {
		this.preRegisterWarmTip = preRegisterWarmTip == null ? null : preRegisterWarmTip.trim();
	}

	public Integer getIsSupportRewriteExceptionOrder() {
		return isSupportRewriteExceptionOrder;
	}

	public void setIsSupportRewriteExceptionOrder(Integer isSupportRewriteExceptionOrder) {
		this.isSupportRewriteExceptionOrder = isSupportRewriteExceptionOrder;
	}

	public Integer getIsSupportRefundAppointment() {
		return isSupportRefundAppointment;
	}

	public void setIsSupportRefundAppointment(Integer isSupportRefundAppointment) {
		this.isSupportRefundAppointment = isSupportRefundAppointment;
	}
}